package com.example.lab2cv;

import android.app.Activity;
import android.os.Bundle;
import android.app.FragmentTransaction;

public class MainActivity extends Activity {

	static String[] choices = new String[] { "Information", "Homepage", "Map",
			"QR-code", "Contact" };

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);

		setContentView(R.layout.activity_main);

		if (savedInstanceState == null) {
			FragmentList myListFragment = new FragmentList();
			FragmentTransaction fragmentTransaction = getFragmentManager()
					.beginTransaction();
			fragmentTransaction.add(R.id.phone_container, myListFragment);
			fragmentTransaction.commit();
		}
	}

}